MarginProperties:
margin-top:
n;
margin-bottom:
n;
margin-right:
n;
margin-left:
n;
margin:
n n n n;
Values (n):
Size: em,ex,px
Percentage: %
Lexically: auto
Example:
margin-top: auto;
margin: 1px 3px 10% auto;
PaddingProperties:
padding-top:
n;
padding-bottom:
n;
padding-right:
n;
padding-left:
n;
padding:
n n n n;
Values (n):
Size: em,ex,px
Percentage: %
Example:
padding-left: 4px;
padding: 1px 3px 2px 1.1em;
BorderProperties (width):
border-top-width:
n;
border-bottom-width:
n;
border-right-width:
n;
border-left-width:
n;
border-width:
n;
Values (n):
Size: em,ex,px
Lexically: thin,medium,thick
Example:
border-top-width: 4px;
border-width: medium;
Properties (colour):
border-top-color:
colour;
border-bottom-color:
colour;
border-right-color:
colour;
border-left-color:
colour;
border-color:
colour;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
border-top-color: #CCCCFF;
border-color: green;
Properties (style):
border-top-style:
style;
border-bottom-style:
style;
border-right-style:
style;
border-left-style:
style;
border-style:
style;
Values (style):
Lexically: solid, dotted, dashed, double, groove, ridge, inset, outset
Example:
border-bottom-style: solid;
border-style: double;
Properties (unify):
border-top:
n style colour;
border-bottom:
n style colour;
border-right:
n style colour;
border-left:
n style colour;
border:
n style colour;
Values (n style colour):
are described in prev examples.
Example:
border-bottom: 1px solid #44CC88;
border: 0.1em double white;
ColorProperties:
color:
coloue;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
color: #000000;
Background-colorProperties:
background-color:
colour;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
background-color: #000000;
Background-imageProperties:
background-image:
url;
Values (url):
URL adress: url(file)
Example:
background-image: url("http://wap.xxx.com/img.jpg");
Background-repeatProperties:
background-repeat:
value;
Values (value):
Lexically: repeat, repeat-x, repeat-y, no-repeat
Example:
background-repeat: repeat;
Background-attachmentProperties:
background-attachment:
value;
Values (value):
Lexically: scroll,fixed
Example:
background-attachment: scroll;
Background-positionProperties:
background-position:
value;
Values (value):
Size: em,ex,px
Percentage: %
Lexically: top, center, bottom, left, right
Example:
background-position: scroll;
BackgroundProperties:
background-position:
colour url repeat attach pos;
Values (value):
are described in prev examples.
Example:
background: white url("pic.jpg") repeat fixed center;
Next usable properties:
font-family
font-style
font-variant
font-weight
font-size
font
list-style-type
list-style-position
list-style-image
list-style
text-indent
text-align
text-decoration
::CSS-Properties::wap.kashwi.com::Mobiparade.comCSS Properties:
Margin
Properties:
margin-top: n;
margin-bottom: n;
margin-right: n;
margin-left: n;
margin: n n n n;
Values (n):
Size: em,ex,px
Percentage: %
Lexically: auto
Example:
margin-top: auto;
margin: 1px 3px 10% auto;
Padding
Properties:
padding-top: n;
padding-bottom: n;
padding-right: n;
padding-left: n;
padding: n n n n;
Values (n):
Size: em,ex,px
Percentage: %
Example:
padding-left: 4px;
padding: 1px 3px 2px 1.1em;
Border
Properties (width):
border-top-width: n;
border-bottom-width: n;
border-right-width: n;
border-left-width: n;
border-width: n;
Values (n):
Size: em,ex,px
Lexically: thin,medium,thick
Example:
border-top-width: 4px;
border-width: medium;
Properties (colour):
border-top-color: colour;
border-bottom-color: colour;
border-right-color: colour;
border-left-color: colour;
border-color: colour;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
border-top-color: #CCCCFF;
border-color: green;
Properties (style):
border-top-style: style;
border-bottom-style: style;
border-right-style: style;
border-left-style: style;
border-style: style;
Values (style):
Lexically: solid, dotted, dashed, double, groove, ridge, inset, outset
Example:
border-bottom-style: solid;
border-style: double;
Properties (unify):
border-top: n style colour;
border-bottom: n style colour;
border-right: n style colour;
border-left: n style colour;
border: n style colour;
Values (n style colour):
are described in prev examples.
Example:
border-bottom: 1px solid #44CC88;
border: 0.1em double white;
Color
Properties:
color: coloue;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
color: #000000;
Background-color
Properties:
background-color: colour;
Values (colour):
RGB code: #000000-#FFFFFF
Lexically: black-white
Example:
background-color: #000000;
Background-image
Properties:
background-image: url;
Values (url):
URL adress: url(file)
Example:
background-image: url("http://wap.xxx.com/img.jpg");
Background-repeat
Properties:
background-repeat: value;
Values (value):
Lexically: repeat, repeat-x, repeat-y, no-repeat
Example:
background-repeat: repeat;
Background-attachment
Properties:
background-attachment: value;
Values (value):
Lexically: scroll,fixed
Example:
background-attachment: scroll;
Background-position
Properties:
background-position: value;
Values (value):
Size: em,ex,px
Percentage: %
Lexically: top, center, bottom, left, right
Example:
background-position: scroll;
Background
Properties:
background-position: colour url repeat attach pos;
Values (value):
are described in prev examples.
Example:
background: white url("pic.jpg") repeat fixed center;
Next usable properties:
font-family
font-style
font-variant
font-weight
font-size
font
list-style-type
list-style-position
list-style-image
list-style
text-indent
text-align
text-decoration
text-transform
white-space
visibility
display
float
text-transform
white-space
visibility
display
float